<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./WEB-INF/includes/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:define name="metadata">
	<f:metadata>
            <f:event type="preRenderView" listener="#{classChangeBacking.fillForm(param.action)}"/>
	</f:metadata>
    </ui:define>
    <ui:define name="title">
        同济大学教师调课申请表--OfficeBoost System
    </ui:define>


    <ui:define name="content">
        <h:form>
            <font size="3" color="blue">
                <h:outputLabel value="教师调课申请表"/>
            </font>
            
            <h:panelGrid columns="2" frame="hsides">
                <h:outputLabel value="申请人"/>
                <h:outputText value="#{classChangeBacking.name}"/>
                <h:outputLabel value="学院"/>
                <h:inputText value="#{classChangeBacking.school}" id="school" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="教研室"/>
                <h:inputText value="#{classChangeBacking.department}" id="department" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="课号"/>
                <h:inputText value="#{classChangeBacking.class_id}" id="class_id" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="课程名称"/>
                <h:inputText value="#{classChangeBacking.class_name}" id="class_name" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="年级"/>
                <h:inputText value="#{classChangeBacking.grade}" id="grade" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="学生专业"/>
                <h:inputText value="#{classChangeBacking.major}" id="major" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="课程调整情况"/>
                <h:inputTextarea value="#{classChangeBacking.detail}" rows="8" cols="40" id="detial" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="课程调整原因"/>
                <h:inputTextarea value="#{classChangeBacking.reason}" rows="8" cols="40" id="reason" readonly="#{classChangeBacking.disabled[0]}"/>
                <h:outputLabel value="学生通知情况"/>                
                <h:inputTextarea value="#{classChangeBacking.notice_detial}" rows="8" cols="40" id="notice_detail" readonly="#{classChangeBacking.disabled[0]}"/>

                <h:outputLabel value="系院审批意见"/>                               
                <h:inputTextarea value="#{classChangeBacking.school_opinion}" rows="8" cols="40" readonly="#{classChangeBacking.disabled[1]}" id="school_opinion"/>
          

                <h:outputLabel value="教务处审批意见"/>
                <h:inputTextarea value="#{classChangeBacking.college_edu_office_opinion}" rows="8" cols="40" readonly="#{classChangeBacking.disabled[2]}" 
                                 id="college_edu_office_opinion"/>    

            </h:panelGrid>
           
            <h:selectOneRadio value="#{classChangeBacking.decision}" readonly="#">
                    <f:selectItem itemLabel="同意" itemValue="agree"/>
                    <f:selectItem itemLabel="拒绝" itemValue="refuse"/>
             </h:selectOneRadio>
          
            <h:commandButton value="提交" action="#"/>
        </h:form>
    </ui:define>


</ui:composition>
